package com.tajiang.business.setting.message;

import android.content.Intent;
import android.os.Bundle;
import android.widget.TextView;

import com.tajiang.business.R;
import com.tajiang.business.common.activity.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * 消息详情
 */
public class MessageDetailActivity extends BaseActivity {

    @BindView(R.id.message_detail_content)
    TextView tvContent;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    @Override
    protected void initTopBar() {
        setTitle("消息");
    }

    @Override
    protected void initLayout() {
        setContentView(R.layout.activity_message_detail);
    }

    @Override
    protected void initData() {

        Intent intent = getIntent();
        tvContent.setText(intent.getStringExtra("content"));
    }

    @OnClick(R.id.message_detail_submit)
    public void submit(){

        finish();
    }
}
